package com.hbsi.annotationDemo1;

/**
 * @author 程奕红
 * @version 1.0
 */
@HbsiAnnotaton(value = {"abc"},myAnnotation =@MyAnnotation(value="sdf"))
public class TestAnnotation {
    private  int i;

    public static void main(String[] args) {
        TestAnnotation obj=new TestAnnotation();

    }
    public static void HbsiAnnotationTool(Class c){
        if(c.isAnnotationPresent(HbsiAnnotaton.class)){
            HbsiAnnotaton hbsiAnnotaton=(HbsiAnnotaton) c.getAnnotation(HbsiAnnotaton.class);
            System.out.println(hbsiAnnotaton);
            System.out.println(hbsiAnnotaton);
            System.out.println(hbsiAnnotaton);
            System.out.println(hbsiAnnotaton);
            System.out.println(hbsiAnnotaton);
        }

    }
}
